package com.taijihuabao.modules.model.user.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author 登录参数
 * @EqualsAndHashCode(callSuper = false) 涉及到jackson的反序列化--无参构造
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("登录参数")
public class UserLoginDTO {

    /**
     * 用户账号
     */
    @ApiModelProperty(value = "用户账号")
    private String username;

    /**
     * 用户密码
     */
    @ApiModelProperty(value = "用户密码")
    private String password;

    /**
     * 登录验证码
     */
    @ApiModelProperty(value = "验证码")
    private String vailCode;

}
